package com.wtwd.device.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wtwd.device.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author zdl
 * @since 2021-08-20
 */
@ApiModel(value = "AppUserInfo对象", description = "")
public class AppUserInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private Long userId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "头像")
    private String portrait;

    @ApiModelProperty(value = "性别;0-男,1-女,3-不明")
    private String sex;

    @ApiModelProperty(value = "出生时间;2021-08-04")
    private String birthTime;

    @ApiModelProperty(value = "身高(cm);170")
    private String height;

    @ApiModelProperty(value = "体重(kg);60")
    private String weight;

    @ApiModelProperty(value = "目标步数")
    @TableField(exist = false)
    private Integer targetSteps;

    @ApiModelProperty(value = "客户端类型,1-ios,2-android")
    private String clientType;

    @ApiModelProperty(value = "用户类型,1-haifit ,2-hfit,50-wx,51-google")
    private String userType;

    @ApiModelProperty(value = "用户状态,1-已注销")
    private String state;

    @ApiModelProperty(value = "客户端Id")
    private String clientId;

    @ApiModelProperty(value = "客户端语言")
    private String lang;

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthTime() {
        return birthTime;
    }

    public void setBirthTime(String birthTime) {
        this.birthTime = birthTime;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public Integer getTargetSteps() {
        return targetSteps;
    }

    public void setTargetSteps(Integer targetSteps) {
        this.targetSteps = targetSteps;
    }

    @Override
    public String toString() {
        return "AppUserInfo{" +
                "userId=" + userId +
                ", name=" + name +
                ", portrait=" + portrait +
                ", sex=" + sex +
                ", birthTime=" + birthTime +
                ", height=" + height +
                ", weight=" + weight +
                ", targetSteps=" + targetSteps +
                "}";
    }
}
